package cn.uyunsky.platform.config.bean.page;

import cn.uyunsky.platform.config.ConfigBeanInterface;

public class PageBean implements ConfigBeanInterface {

	private String pagecode;
	private String uri;
	private String service;
	private String name;
	private String desc;
	
	/**
	  * @Fields level : 目前仅让测试页面支持2级菜单,方便调试,这里定义二级菜单名字,即配置文件名第二位
	  * 因为此配置文件本身不体现层级关系,因此本对象也不体现;由调用者自行根据level组织
	  */
	private String level;

	public String getPagecode() {
		return pagecode;
	}

	public void setPagecode(String pagecode) {
		this.pagecode = pagecode;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("PageBean [pagecode=");
		builder.append(pagecode);
		builder.append(", uri=");
		builder.append(uri);
		builder.append(", service=");
		builder.append(service);
		builder.append(", name=");
		builder.append(name);
		builder.append(", desc=");
		builder.append(desc);
		builder.append("]");
		return builder.toString();
	}

}
